package org.itboys.basetemplate.entity;

import org.mongodb.morphia.annotations.Entity;
import org.itboys.mongodb.entity.BaseLongIdEntity;

/**
 * 代金券用户 关联
 * 
 * @author ok
 * 
 */
@Entity(value = "VoucherUserMap", noClassnameStored = true)
public class VoucherUserMap extends BaseLongIdEntity {

	private static final long serialVersionUID = 7017150962967710216L;

	private Long memberId; // 会员Id
	private String remark; // 备注
	private Integer status = 0; // 是否使用
	private String startDate; // 开始时间
	private String endDate; // 截止时间
	private Double money = 0.0; // 抵用额度
	private Double amount = 0.0; // 使用条件（满多少元才能使用）
	private String name; //折扣券名称

	public Double getMoney() {
		return money;
	}

	public void setMoney(Double money) {
		this.money = money;
	}

	public Double getAmount() {
		return amount;
	}

	public void setAmount(Double amount) {
		this.amount = amount;
	}

	public Long getMemberId() {
		return memberId;
	}

	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getStartDate() {
		return startDate;
	}

	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}

	public String getEndDate() {
		return endDate;
	}

	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}
